﻿@{
    ViewBag.Title = "Index";
    string[] lines = { "Two",  "bytes",  "meet.",  "The", "first", "byte", 
        "asks,", "'Are", "you", "ill?'", "The", "second", "byte", "replies,", 
        "No,", "just", "feeling", "'a", "bit", "off.'"};
    var myName = "mike roth";
    var age = 26;
    var residence = "Temecula";
    DateTime endOfMyanLongCount = DateTime.Parse("12/21/2012");
}

<h2>Index</h2>

<!-- First things first go over how to do a comment in razor -->
@* this is a comment *@

<!-- Second thing lets do some basic manipulation some stuff we declared above -->
My Name is @myName I am @age and reside in @residence
for the record here is a joke.



<!-- third thing lets show a list of values  -->
<p>
@foreach (var line in lines) {
    @string.Format("{0} ", line);
}
</p>